/**
 * ****************************************************************************
 * Project: RoboBridge
 * ----------------------------------------------------------------------------
 * -------------------------- [c]2012 - KrawallMann ---------------------------
 * ---------------------- http://www.krawallmann.de.tc/ -----------------------
 * ****************************************************************************
 * File: DeviceDiscoveryListener.java Package:
 * tc.de.krawallmann.robobridge.communication Version: 1.0 Author(s):
 * KrawallMann
 * ****************************************************************************
 * Description:
 * ****************************************************************************
 */
package tc.de.krawallmann.robobridge.communication;

/**
 * The listener interface for receiving deviceDiscovery events. The class that
 * is interested in processing a deviceDiscovery event implements this
 * interface, and the object created with that class is registered with a
 * component using the component's
 * <code>addDeviceDiscoveryListener<code> method. When
 * the deviceDiscovery event occurs, that object's appropriate
 * method is invoked.
 * 
 * @param <T>
 *            the generic type
 * @author KrawallMann
 * @version 1.0
 */
public interface DeviceDiscoveryListener<T extends AbstractRemoteCommunicationDevice> {

	/**
	 * On device discovered.
	 * 
	 * @param device
	 *            the device
	 */
	void onDeviceDiscovered(T device);
}
